<?php
//换成自己的接口信息
$appid = 'wx5d13ad141dbb55f5';

$url=urlencode("http://m.giant-king.com/testdoc/vivo-ble/OAuth.php");

header('Location:https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$appid.'&redirect_uri='.$url.'&response_type=code&scope=snsapi_base&state=123#wechat_redirect');
	
?>